<template>
	<view class="container">
		<u-parse :html="detail.content"></u-parse>
	</view>
</template>

<script>
	export default {
	
		data() {
			return {
				detail: {}
			}
		},

		onLoad({id}) {
			this.findAgreement(id)
		},
		methods: {
			findAgreement(id){
				this.$u.api.findAgreement({id}).then(res => {
					this.detail = res.data
					uni.setNavigationBarTitle({
						title: res.data.title
					})
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	
</style>